﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zocono.WCS.Domain.EntityInfo;
using Zocono.WCS.Infrastructure.ApllicationDto;
using Zocono.WCS.Infrastructure.ApllicationDto.DtoWcsManage;

namespace Zocono.WCS.Domain.PlcWriteDbDomain
{
    public interface IPlcWriteDbInfoService : IDomainService
    {
        Task<long> AddPlcWriteDbInfoAsync(PlcWriteDbInfoDto plcWriteDbInfoInfoDto);
        Task<bool> DeletePlcWriteDbInfoAsync(long ID);
        Task<bool> UpdatePlcWriteDbInfoAsync(PlcWriteDbInfoDto plcWriteDbInfoInfoDto);
        Task<PageDto<PlcWriteDbInfoDto>> GetPlcWriteDbInfoAsync(QueryPlcWriteDbInfoDto queryPlcWriteDbInfoInfoDto);
        Task<PlcWriteDbInfoDto> GetPlcWriteDbInfoByIDAsync(long ID);
        Task<List<PlcWriteDbDto>> GetPlcWriteDbInfoAsync();

        Task<List<DispatchEquipmentPlanarState>> GetDispatchEquipmentPlanarStateInfoAsync(List<string> equipmentCodes);
        Task<List<PlcWriteDbInfo>> GetPlcWriteDbInfoListAsync();
    }
}
